#ifndef FORM4_1_H
#define FORM4_1_H

#include <QWidget>
#include <QString>
#include "project.h"
#include "form4_2.h"
#include "widget.h"

namespace Ui {
class Form4_1;
}

class Form4_2;

class Form4_1 : public QWidget
{
    Q_OBJECT

public:
    explicit Form4_1(Widget *las,Flight &f,FlightBookingSystem &system,QWidget *parent = nullptr);
    ~Form4_1();

    Form4_2 *page4_2=nullptr;
    Widget *last=nullptr;

    FlightBookingSystem &bookingSystem;

    Flight &flight;

private slots:
    void on_lineEdit1_textChanged(const QString &arg1);

    void on_lineEdit2_textChanged(const QString &arg1);

    void on_lineEdit3_textChanged(const QString &arg1);

    void on_pushButton_clicked();

private:
    Ui::Form4_1 *ui;
};

#endif // FORM4_1_H
